package com.w7vm.menuweb.facade;

import java.util.List;

import javax.ejb.EJB;
import javax.ejb.LocalBean;
import javax.ejb.Remote;
import javax.ejb.Stateless;

import com.w7vm.menuweb.dao.AcessoDAO;
import com.w7vm.menuweb.dao.PratoDAO;
import com.w7vm.menuweb.entity.PratoSy;

/**
 * Session Bean implementation class PratoFacadeImp
 */
@Stateless(name="PratoEJB")
@Remote(PratoFacade.class)

public class PratoFacadeImp implements PratoFacade {

	
	@EJB
	private PratoDAO pratoDAO; 
	
    /**
     * Default constructor. 
     */
    public PratoFacadeImp() {
        // TODO Auto-generated constructor stub
    }

	@Override
	public List<PratoSy> findTipoPratoByAll() {
		return pratoDAO.findTipoPratoByAll();
	}

}
